const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  token: state => state.user.token,
  avatar: state => state.user.avatar,
  name: state => state.user.name,
  type: state => state.user.type,
  roles: state => state.user.roles,
  menuList: state => state.user.menuList,
  allRouter: state => state.user.allRouter,
  is_admin_view: state => state.user.is_admin_view,
  rid: state => state.user.rid,
  is_admin: state => state.user.is_admin,
  newtype: state => state.user.newtype,
}
export default getters
